﻿using System;
using System.Collections.Generic;
using System.Text;

namespace X3DLib
{
    public class X3dArea//:X3dInterfaceObject
    {

        private int number; //数组的大小

        public int Number
        {
            get { return number; }
            set { number = value; }
        }
        private string form;//区域的形状：方（square）或圆（round）

        public string Form
        {
            get { return form; }
            set { form = value; }
        }
        private float origin; //原点 

        public float Origin
        {
            get { return origin; }
            set { origin = value; }
        }
        private float radius; //半径

        public float Radius
        {
            get { return radius; }
            set { radius = value; }
        }
        private string control;//生成方式：随机（random）或整齐（order）

        public string Control
        {
            get { return control; }
            set { control = value; }
        }
        private string[] translationArr;//设定位置
        /// <summary>
        /// 构造函数
        /// </summary>
        public X3dArea()
        {
            this.number = 10;
            this.form = "square";
            this.origin = 0.0f;
            this.radius = 5.0f;
            this.control = "random";
        }
        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="form">区域形状：方（square）或圆（round）</param>
        /// <param name="control">生成方式：随机（random）或整齐（order）</param>
        /// <param name="origin">原点</param>
        /// <param name="radius">半径</param>
        /// <param name="number">数量</param>
        public X3dArea(string form,string control,float origin,float radius,int number)
        {
            this.number = number;
            this.form = form;
            this.origin = origin;
            this.radius = radius;
            this.control = control;
        }

        public string[] createTranslationArr()
        {
            throw new System.NotImplementedException();
        }
    }
}
